body {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html,
body {
    height: 100%;
    background-size: cover;
    /* 模糊背景 */
    backdrop-filter: blur(50px);
    overflow: hidden;
}
.upper-container {
    width: 80%;
    height: 80%;
    padding-left: 10%;
}
.record-container {
    width: 50%;
    height: 100%;
    float: left;
    display: flex;
    justify-content: center;
    align-items: center;
}
.record-bg {
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 500px;
    height: 500px;
    border-radius: 500px;
}
.rotate-play {
    background-image: url('../img/record0.jpg');
    background-size: 100% 100%;
    width: 250px;
    height: 250px;
    border-radius: 250px;
}
.introduction-container {
    width: 50%;
    height: 100%;
    float: left;
    display: flex;
    justify-self: center;
    align-items: center;
}
.text-container {
    width: 80%;
    padding-left: 20%;
}
.music-title {
    font-size: 4rem;
    color: white;
}
.author-container {
    color: rgb(171,171,171);
    font-size: medium;
}

/* 下半部分 */
.aduio-box{
    width: 100%;
    height: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.aduio-container {
    width: 90%;
    height: 20%;
}
/* 进度条 */
.a-progress {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}
.pgs-total {
    width: 100%;
    height: 16px;
    background-color: green;
    border-radius: 10px;
    position: relative;
}
/* 进度条的绿色部分 */
.pgs-play::before {
    content: '';
    position: absolute;
    top: 7px;
    bottom: 7px;
    left: 0;
    right: 0;
    background-color: #42b680;
    border-radius: 10px;
    z-index: 1;
}
.pgs-play::after{
    content: '';
    position: absolute;
    top: 7px;
    bottom: 7px;
    left: 0;
    right: 0;
    background-color: #bbb;
    border-radius: 10px;
    z-index: -1;
}
.pgs-play {
    height: 100%;
    border-radius: 10px;
}

/* 播放时间 */
.time-container {
    width: 30%;
    color: white;
    font-weight: 300;
    float: left;
}
.a-controls{
    width: 100%;
}
.center-button-container{
    width: 40%;
    float: left;
    display: flex;
    justify-content: center;
    align-items: center;
}
.center-icon {
    width: 30px;
    height: 30px;
    margin-left: 10px;
    margin-right: 10px;
}
.center-icon:hover{
    opacity: 0.7;
}
.center-icon:active{
    opacity: 0.6;
}
.mode{
    background-image: url('../img/mode1.png');
    background-size: 100% 100%;
}
.s-left{
    background-image: url('../img/上一首.png');
    background-size: 100% 100%;
}
.icon-play{
    width: 50px;
    height: 50px;
    background-image: url('../img/继续播放.png');
background-size: 100% 100%;
}
.s-right{
    background-image: url('../img/下一首.png');
    background-size: 100% 100%;
}
.volumn{
    background-image: url('..img/音量.png');
    background-size: 100% 100%;
}

/*右下角区域*/
.bottom-button-container{
    width: 30%;
    padding-top: 10px;
    float: left;
    text-align: right;
}

.button-icon {
    float: right;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 3px;
}
.button-icon:hover{
    opacity: 0.7;
}
.button-icon:active{
    opacity: 0.6;
}
.speed{
    float: right;
    color: white;
    margin: 0 10px;
}
.speed:hover{
    opacity: 0.7;
}
.speed:active{
    opacity: 0.6;
}
.list{
    background-image: url('../img/列表.png');
    background-size: 100% 100%;
}
.list:hover{
    opacity: 0.7;
}
.list:active{
    opacity: 0.6;
}
.MV{
    background-image: url('../img/MV.png');
    background-size: 100% 100%;
}
.MV:hover{
    opacity: 0.7;
}
.MV:active{
    opacity: 0.6;
}

/* 关音乐列表 */
.close-list{
    width: 75%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: transparent;
}

/* 音乐列表 */
.music-list{
    display: none;
    width: 25%;
    height: 100%;
    background-color: rgb(29,40,32);
    position: fixed;
    top: 0;
    right: 0;
}
.music-list-container{
    width: 100%;
}
.music-list-title {
    color:white;
    font-size: 2rem;
    font-weight: 300;
    padding: 10% 15% 0 15%;
}
.line{
    height: 1px;
    width: 70%;
    border: none;
    border-top: 1px dashed gray;
}
.all-list div {
    height: 50px;
    line-height: 50px;
    color: white;
    font-weight: 300;
    padding: 0 15% 0 15%;
}
.all-list div:hover {
    background-color: gray;
}

/* 动画-唱片 */
@keyframes rotate {
    from{
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
#volumn-togger {
    width: 100px;
    height: 5px;
    appearance: none;
    background-color: #dcdcdc;
    outline: none;
    border-radius: 15px;
    box-shadow: inset 0 0 5px #dcdcdc;
}
#volumn-togger::-wibkit-slider-thumb {
    -webkit-appearance: none;
    width: 1px;
    height: 5px;
    background-color: #42b680;
    border-radius: 50%;
    cursor: pointer;
    border: 4px solid #fff;
}


.list-card-show{
    animation: showAni 1s;
    animation-fill-mode: forwards;
}

/* 音乐列表展开动画 */
@keyframes showAni {
    /* 初始状态 */
    from {
        transform: translateX(0);
    }
    /* 结束状态 */
    to {
        transform: translateX(100%);
    }
}

.list-card-hide {
    animation: hideAni 1s;animation-fill-mode: forwards;
}
/* 音乐列表关闭动画 */
@keyframes hideAni {
    /* 初始状态 */
    from {
        transform: translateX(0);
    }
    /* 结束状态 */
    to {
        transform: translateX(100%);
    }
}